<?php

namespace plugin\admin\app\model;

use plugin\admin\app\model\Base;

/**
 * @property integer $id (主键)
 * @property integer $user_id 用户ID
 * @property string $name 商品名称
 * @property string $thumbs 商品图片
 * @property string $weight 重量
 * @property string $date 日期
 * @property string $time_range 时间范围
 * @property string $address_info 地址信息
 * @property integer $status 状态，0等待上门,1已完成,2已取消
 * @property string $finish_time 完成时间
 * @property string $cancel_time 取消时间
 * @property string $remark 备注
 * @property string $created_time 发布时间
 */
class Reservation extends Base
{
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'wa_reservation';

    /**
     * The primary key associated with the table.
     *
     * @var string
     */
    protected $primaryKey = 'id';
    /**
     * Indicates if the model should be timestamped.
     *
     * @var bool
     */
    public $timestamps = false;

    const STATUS_WAIT = 0;

    const STATUS_FINISHED = 1;

    const STATUS_CANCELED = 2;
    
}
